Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRV record headless #553

Merged
merged 2 commits into from
Jun 11, 2021
Merged

Conversation

aswinsuryan
Copy link
Contributor

@aswinsuryan aswinsuryan commented Jun 4, 2021

Add SRV record support for headless services

Implements the enhancement proposal here: https://github.com/submariner-io/enhancements/blob/devel/lighthouse/srv-records.md
Resolves issue #526

@aswinsuryan aswinsuryan marked this pull request as ready for review June 7, 2021 06:21
@aswinsuryan aswinsuryan marked this pull request as draft June 7, 2021 06:23
@aswinsuryan aswinsuryan force-pushed the srv-record-headless branch from cf3067a to 6adbebb Compare June 7, 2021 09:53
@aswinsuryan aswinsuryan linked an issue Jun 8, 2021 that may be closed by this pull request
@aswinsuryan aswinsuryan force-pushed the srv-record-headless branch 4 times, most recently from 9259885 to 52d07d2 Compare June 8, 2021 14:10
@aswinsuryan aswinsuryan marked this pull request as ready for review June 9, 2021 05:11
@aswinsuryan aswinsuryan changed the title Srv record headless SRV record headless Jun 9, 2021
Copy link
Contributor

@mangelajo mangelajo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can I get a more elaborate description of what we are trying to implement exactly and how it should behave?

I was looking at https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#srv-records for the non multi-cluster case but it doesn't match what I see here.

plugin/lighthouse/handler_test.go Show resolved Hide resolved
@aswinsuryan aswinsuryan force-pushed the srv-record-headless branch from 4d0d670 to 95c852d Compare June 9, 2021 16:35
pkg/endpointslice/map.go Outdated Show resolved Hide resolved
plugin/lighthouse/handler_test.go Show resolved Hide resolved
Copy link
Contributor

@vthapar vthapar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just a minor nitpick

pkg/endpointslice/map_test.go Outdated Show resolved Hide resolved
@aswinsuryan aswinsuryan requested a review from vthapar June 11, 2021 08:08
Signed-off-by: Aswin Surayanarayanan <[email protected]>
@aswinsuryan aswinsuryan force-pushed the srv-record-headless branch from 85f587b to a834072 Compare June 11, 2021 09:06
@submariner-bot submariner-bot added the ready-to-test When a PR is ready for full E2E testing label Jun 11, 2021
@aswinsuryan aswinsuryan merged commit 9f8bde4 into submariner-io:devel Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-test When a PR is ready for full E2E testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for SRV records
5 participants